<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<base href="<?php echo site_url('static/weixincard/'.$wechat['weixincardtpl'])?>/">
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script src="<?php echo URLPRE?>static/public/js/jquery/jquery-1.11.1.min.js"></script>
</head>
<body class="sbody">
<div class="dytop">
  <div class="dyhead">
    <div class="dytitle"><?php echo $info['realname']?></div>
    <div class="avatar"><img src="<?php echo URLPIC.$info['avatar']?>" width="352" height="220" alt="" /></div>
    <div class="dyname">
      <p>旅游顾问</p>
      <p class="at">联系电话：<?php echo $info['mobile']?></p>
    </div>
    <a href="tel:<?php echo $info['mobile']?>" class="tel_box"></a> </div>
</div>
<div>
    <?php
        $TEMPLATE = <<<HTML
{listinfo}
<a  class="topimg" title="{title}"  target="_blank" href="{link}" ><img src="{pic}" width="320" height="74" alt="{title}" /></a>
{/listinfo}
HTML;
        ?>
    <?php  diy('texture_01', 'imagelist', $TEMPLATE);?>
</div>

<div class="btn-nav" >
  <ul class="fn-clear">
    <li> <a href="<?php echo site_url('mobile/line?cat_id=3');?>"> <span class="btn_icon btn_out"></span>
      <p class="word">出境游</p>
      </a> </li>
    <li> <a href="<?php echo site_url('mobile/line?cat_id=1');?>"> <span class="btn_icon btn_gn"></span>
      <p class="word">国内游</p>
      </a> </li>
    <li> <a href="<?php echo site_url('mobile/line?cat_id=2');?>"> <span class="btn_icon btn_around"></span>
      <p class="word">周边游</p>
      </a> </li>
    <li> <a href="<?php echo site_url('mobile/line?mark=尾单');?>"> <span class="btn_icon btn_yl"></span>
      <p class="word">尾单</p>
      </a> </li>
  </ul>
  <ul class="fn-clear">
    <li> <a href="<?php echo site_url('mobile/scenery/index');?>"> <span class="btn_icon1 btn_mp"></span>
      <p class="word">门票</p>
      </a> </li>
    <li> <a href="<?php echo $ctrip_flight ;?>"> <span class="btn_icon1 btn_jp"></span>
      <p class="word">机票</p>
      </a> </li>
    <li> <a href="<?php echo $ctrip_hotel ;?>"> <span class="btn_icon1 btn_jd"></span>
      <p class="word">酒店</p>
      </a> </li>
    <li> <a href="<?php echo site_url('mobile/trips/index?category=1');?>"> <span class="btn_icon1 btn_dr"></span>
      <p class="word">美食</p>
      </a> </li>
  </ul>
</div>
<div class="searchbox">

  <div class="searchform">
    <form action="<?php echo  site_url('/mobile/line/index/').'/'?>" method="get" accept-charset="utf-8">
      <a class="site-btn">搜索</a>
      <input type="text" placeholder="请输入目的地名称" name="keyword" id="searchKey" class="searchtxt" />
        <input type="hidden" name="cat_id" value="0" />
      <input type="submit" value="" class="searchbtn" />
    </form>
  </div>
</div>
<ul class="indexnav">
  <li class="curr">特价及时送</li>
<!--  <li>大家都在买</li>-->
<!--  <li>性价比最高</li>-->
</ul>
<div id='slider' class='swipe'>
  <div class='swipe-wrap'>
    <div class="line-list" style="min-height:20px">

        <?php
    $tpl = <<<HTML
{linelist}
<div class="line-item">
<a href="{link}"> <img class="fn-left img" src="{line_thumb}" width="114" height="76" alt="{line_name}" />
<div class="txt">
  <p class="p1">{line_name}</p>
  <p class="p2">
    <label class="fn-right pri"> <span class="n"><span class="u">{dollar}</span>{low_price}<span>{dollarend}</span></span> </label>
    最近团期：{go_list} </p>
</div>
</a>
</div>
{/linelist}
HTML;
    if(trim($info['lines'])){
        $CI = new CI_Module();
        $CI->load->model('diy.diy_model');
        $CI->diy_model->__init_CI(1);
        echo $CI->diy_model->process_linelist(array('line_numbers' => $info['lines']), $tpl);
    }else{
        diy('mobile_hotline_02', 'linelist', $tpl);
    }
        ?>
    </div>
  </div>
</div>
<div class="all-targetlist">
  <h3 class="t"> <span>全部旅游目的地</span> </h3>
  <div class="catebox js-catebox">
    <?php
    $TEMPLATE_S = <<<HTML
        <h4 class="category_title">{title}</h4>
        <ul class="cat_item">
         {links}
          <li><a href="{link}">{name}</a></li>
         {/links}
        </ul>
HTML;
    ?>
    <?php diy('mobile_index_99','fontlist',$TEMPLATE_S);?>
  </div>
  <div class="catebox js-catebox">
    <?php diy('mobile_index_98','fontlist',$TEMPLATE_S);?>
  </div>
  <div class="catebox js-catebox">
    <?php diy('mobile_index_97','fontlist',$TEMPLATE_S);?>
  </div>
  <div class="catebox js-catebox">
    <?php diy('mobile_index_96','fontlist',$TEMPLATE_S);?>
  </div>
  <div class="catebox js-catebox">
    <?php diy('mobile_index_95','fontlist',$TEMPLATE_S);?>
  </div>
    <div class="catebox js-catebox">
    <?php diy('mobile_index_94', 'fontlist', $TEMPLATE_S); ?>
    </div>
    <div class="catebox js-catebox">
    <?php diy('mobile_index_93', 'fontlist', $TEMPLATE_S); ?>
    </div>
    <div class="catebox js-catebox">
    <?php diy('mobile_index_92', 'fontlist', $TEMPLATE_S); ?>
    </div>
    <div class="catebox js-catebox">
    <?php diy('mobile_index_91', 'fontlist', $TEMPLATE_S); ?>
    </div>
</div>

<div class="nuseropbtn">
    <a href="tel:<?php echo $info['mobile']?>" onclick="window.location.href='tel:<?php echo $info['mobile']?>';return false;" class="item item1 tel">电话咨询</a>
<!--    <a href="#" class="item item2">浏览历史</a>-->
</div>


<div class="guide-share">
  <p>选好喜欢的产品了吗？分享给您的好友，让大家一起帮您挑选吧！</p>
  <div class="share-icon">点击分享</div>
</div>

<div class="copy_topimg"></div>
<div class="copyrightbox fn-clear">
  <label class="fn-left">@掌旅宝网络科技有限公司·技术支持</label>
</div>
<style>
    .active{
        display:block!important;
        opacity:1!important;
    }
</style>
<script>
    $('.nuseropbtn').on('click',function(){
        $('.item').toggleClass('active');
        return false;
    });

    $(function(){
        var $js_catbox = $('.js-catebox');
        $js_catbox.each(function(){
            var id_check = $(this).attr('id')==undefined?0:1;
            if(!id_check&&!$(this).find('li').size()){
               $(this).closest('.js-catebox').remove();
            }
        })
    })


</script>
<?php echo $sharehtml?>
</body>
</html>
